import 'package:safetymonitor/generated/json/base/json_field.dart';
import 'package:safetymonitor/generated/json/major_event_info_create_entity.g.dart';
import 'dart:convert';
export 'package:safetymonitor/generated/json/major_event_info_create_entity.g.dart';

@JsonSerializable()
class MajorEventInfoCreateEntity {
	late String dept = '';
	late String dutyPerson = '';
	late String dutyPersonPhone = '';
	late String dutyLeader = '';
	late String dutyLeaderPhone = '';
	late String eventTime = '';
	late String eventDesc = '';
	late String eventReason = '';
	late String measure = '';
	late String remark = '';
	late String eventAddr = '';

	MajorEventInfoCreateEntity();

	factory MajorEventInfoCreateEntity.fromJson(Map<String, dynamic> json) => $MajorEventInfoCreateEntityFromJson(json);

	Map<String, dynamic> toJson() => $MajorEventInfoCreateEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}